package org.ccay.enumerable.exception;

public class NoEnumItemFoundException extends RuntimeException{

	private static final long serialVersionUID = 20171204L;
	
	public NoEnumItemFoundException(String enumType, String enumValue) {
		this.enumType = enumType;
		this.enumValue = enumValue;
	}
	
	private String enumType;
	private String enumValue;
	
	public String getEnumType() {
		return enumType;
	}
	public String getEnumValue() {
		return enumValue;
	}
	@Override
	public String getMessage() {
		return "Can not find Enum defined with enumType:"+enumType+" and value:"+enumValue;
	}
	

}
